/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package elaborate.tool.messenger;

import java.util.List;

/**
 *
 * @author lendle
 */
public interface MessengerConnection {
    public void connect(String username, String password) throws Exception;
    public void disconnect() throws Exception;
    public MessengerSender getSender();
    public List<Contact> getContacts();
    public void addMessageListener(MessageListener l);
    public void removeMessageListener(MessageListener l);
    public void addContactListener(ContactListener l);
    public void removeContactListener(ContactListener l);
}
